<script>
	export default {
		globalData: {
			login: false,
			openid: '',
			userinfo: {},
			swiper: [],
			goodsPicture: [],
			tags: [],
			tags_icon: [], //所有图标标签
		},
		onLaunch: function() {
			let col = uniCloud.importObject('indexObj', {
				customUI: true
			})
			col.getgoodsPicture('').then((res) => {
				getApp().globalData.goodsPicture = res.data.data
			})
			col.getImagepackTag('').then((res) => {

				getApp().globalData.tags = res.data.data
			})
			col.gettagIcon().then((res) => {
				getApp().globalData.tags_icon = res.data
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
<style>
	@import "@wangeditor/editor/dist/css/style.css";
</style>
<style>
	.el-card__header {
		background-color: #f9f9f9;
	}
</style>
